#define _CRT_SECURE_NO_WARNINGS 1
#include<gameux.h>
void menu()
{
	printf("-------------\n");
	printf("-   1.Play  -\n");
	printf("-------------\n");
	printf("-   0.Exit  -\n");
	printf("-------------\n");
	printf("请选择>");

}
int main()
{
	int input = 0;
	srand((unsigned int)time(NULL));
	do
	{
		menu();
		scanf("%d", &input);
		switch (input)
		{
		case 1:
			game();
			break;
		case 0:
			break;
		default:
			printf("选择错误，请重新选择（1/0）\n");
			break;
		}
	} while (input);
}